<div class="docs-nav-mobile unit whole show-on-mobiles">
  <select id="news-nav" onchange="navigateToUrl(this)" aria-label="Select a post from the blog">
    <option value="">Navigate the blog…</option>
    <option value="{{ '/news/' | relative_url }}">Home</option>
    <optgroup label="posts">
      {% for post in site.posts -%}
      <option value="{{ post.url | relative_url }}">{{ post.title }}</option>
      {% endfor -%}
    </optgroup>
  </select>
</div>